package com.aimee.test;

import java.sql.SQLException;
import java.util.List;

import com.aimee.dao.PageDAO;
import com.aimee.dao.RoleDAO;
import com.aimee.entity.Page;

public class RoleDAOtest {
	public static void main(String[] args) {
		PageDAO pd=new PageDAO();
		RoleDAO rd=new RoleDAO();
		String sql="SELECT * FROM page WHERE page_id IN(2,3)";
		
		try {
			List list = pd.getRolePages(sql);
			 System.out.println(list);
//			String ids=rd.rolePages(3);
//			System.out.println(ids);
		} catch (SQLException e) {
			e.printStackTrace();
		}
	   
	}
	

}
